package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.oms.Oms_Order_Return_Reason;
import com.shop.utils.LayuiUtils;
import com.shop.utils.R;

import java.awt.*;
import java.util.List;

/**
 * 退货原因-李贝贝
 */
public interface Oms_Order_Return_Reason_Service {

    /**
     * 显示所有退货原因
     * @param pages
     * @param oms_order_return_reason
     * @return
     */
    LayuiUtils<Oms_Order_Return_Reason> find_oms_order_return_reason(Page<Oms_Order_Return_Reason> pages, Oms_Order_Return_Reason oms_order_return_reason);

    /**
     * 增加退货原因
     * @param oms_order_return_reason
     * @return
     */
    R insert_oms_order_return_reason(Oms_Order_Return_Reason oms_order_return_reason);

    /**
     * 删除退货原因
     * @param id
     * @return
     */
    R delete_oms_order_return_reason(List<Long> id);

    /**
     * 修改退货原因
     * @param oms_order_return_reason
     * @return
     */
    R update_oms_order_return_reason(Oms_Order_Return_Reason oms_order_return_reason);

}
